import request from '@/utils/request'
//  获取商品品牌列表
export function getGoodsBrandList(params) {
  return request({
    url: '/cloudApi/goods/goodsBrand/getGoodsBrandAll',
    method: 'get',
    params
  })
}

//  新增商品品牌
export function saveGoodsBrand(data) {
  return request({
    url: '/cloudApi/goods/goodsBrand/saveGoodsBrand',
    method: 'post',
    data
  })
}

//  编辑商品品牌
export function updateGoodsBrand(data) {
  return request({
    url: '/cloudApi/goods/goodsBrand/updateGoodsBrand',
    method: 'post',
    data
  })
}

//  删除商品品牌
export function removeGoodsBrand(data) {
  return request({
    url: '/cloudApi/goods/goodsBrand/removeGoodsBrand',
    method: 'post',
    data
  })
}

//  修改商品品牌
export function xgbrand(data) {
  return request({
    url: '/cloudApi/goods/goodsBrand/updateGoodsBrand',
    method: 'post',
    data
  })
}
//  获取商品品牌列表分页
export function getGoodsBrandListfy(params) {
  return request({
    url: '/cloudApi/goods/goodsBrand/getGoodsBrandList',
    method: 'get',
    params
  })
}
